import { createApp } from 'vue'
import App from './App.vue'
import router from './router/index'
import store from './store/index'
import 'normalize.css'
import ElementPlus from 'element-plus'
import zhCn from 'element-plus/dist/locale/zh-cn.mjs'
import 'element-plus/dist/index.css' // 引入 element-plus 的样式文
import './mock/index'

const app = createApp(App)
app.use(ElementPlus, { // 全部引入 element-plus
    locale: zhCn,
})
app.use(store)
app.use(router)
app.mount('#app')
